package com.bolt.admin.module.sys.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2020/9/28.
 */
@Data
public class MenuDTO  {

    private Long id;

    @NotBlank
    @ApiModelProperty(notes = "菜单名称")
    private String name;

    @ApiModelProperty(notes = "菜单URL")
    private String url;

    @ApiModelProperty(notes = "菜单图标")
    private String icon;

    @ApiModelProperty(notes = "菜单说明")
    private String description;

    private Long pid;

    @ApiModelProperty(notes = "菜单排序号")
    private Integer orderRank;

    private Integer lft;

    @NotNull
    @ApiModelProperty(notes = "菜单是否可用")
    private Boolean enabled;

    private Integer rgt;

    private Integer depth;

    private Integer versionNO;

}

 